/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.loan;

import com.server.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 产品经理管理Entity
 * @author 王磊
 * @version 2016-09-07
 */
public class LoanManager extends DataEntity<LoanManager> {
	
	private static final long serialVersionUID = 1L;
	protected String loanId;		// 贷款ID
	protected String userId;		// 负责人（客服）ID
	protected String userName;		// 负责人（客服）name
	protected User user;
	protected String telname;      //客服座机
	protected String kmobile;      //客服手机

	public String getTelname() {
		return telname;
	}

	public void setTelname(String telname) {
		this.telname = telname;
	}

	public String getKmobile() {
		return kmobile;
	}

	public void setKmobile(String kmobile) {
		this.kmobile = kmobile;
	}



	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public LoanManager() {
		super();
	}

	public LoanManager(String id){
		super(id);
	}

	@Length(min=1, max=64, message="贷款ID长度必须介于 1 和 64 之间")
	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}
	
	@Length(min=1, max=64, message="负责人（客服）ID长度必须介于 1 和 64 之间")
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
}